package com.kpijavatraining.module;

import java.io.IOException;

public class Training {
	
	public void runStudy(User user) throws ClassNotFoundException, IOException, CloneNotSupportedException{
		Session session = getSession(user);
		Teacher teacher = new Teacher();
		teacher.performExam(session);
	}
	
	private Session getSession(User user) throws ClassNotFoundException, IOException, CloneNotSupportedException{
		PrepareQuestions initializer = new PrepareQuestions();
		return initializer.getSession(user);
	}
}
